package com.seaboxdata.service.impl;

import com.seaboxdata.dao.HiveDao;
import com.seaboxdata.entity.OldStrategyConfig;
import com.seaboxdata.service.HiveDataAgeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author
 * @create 2021-01-29 9:53
 **/

@Service
public class HiveDataAgeServiceImpl implements HiveDataAgeService {

    @Autowired
    private HiveDao hiveDao;

    @Override
    public void dataAge(OldStrategyConfig config) {
        hiveDao.dataAge(config);
    }

}
